package com.itjcloud.iot.gateway.service;

import com.itjcloud.iot.gateway.model.CommonTokenInfo;
import reactor.core.publisher.Mono;

public interface ItjJwtDecoderService {


    /**
     * 根据jwt获取jwt中的负载信息
     *
     * @param jwt jwt
     * @return 负载信息
     */
    Mono<CommonTokenInfo> getPayloadToUserInfo(String jwt);

      Mono<CommonTokenInfo> getRedisToUserInfo(String token);
}
